package com.share;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication      // @SpringBootConfiguration、@EnableAutoConfiguration、@ComponentScan
@MapperScan("com.share.dao")        // 配置 Mybatis扫描的接口路径
public class Application {
    public static void main( String[] args ) {
        SpringApplication.run(Application.class, args);
    }
}
